package edu.mju.route;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 启动类
 *  EnableDiscoveryClient:nacos注册
 *  EnableFeignClients:openfeign在调用端添加该注解
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class RouteApplication {
    public static void main(String[] args) {
        SpringApplication.run(RouteApplication.class,args);
    }
}
